//c++ example in c++11
#include <iostream>
#include <vector>
#include <string>


using namespace std;

int main(){
    vector<string> msg {"hello","c++","world", "!"};
    for (const string& word: msg)
    {
        cout << word << " ";


    }
    cout << endl;
    return 0;


}